package com.itboye.eweilisten.util.loadingutil;

import android.widget.Toast;

import com.itboye.eweilisten.app.MyApplication;


/**
 * Created by admin on 2017/1/13.
 */

public class MAlert {

    public static void alert(Object s) {
        CustomerToast.makeCustomText(MyApplication.getInstance(), s + "",Toast.LENGTH_SHORT).show();
    }
    public static void alert(Object s,int diretion) {
        CustomerToast.makeCustomText(MyApplication.getInstance(), s + "",Toast.LENGTH_SHORT,diretion).show();
    }
    public static void alert(Object s,int diretion,int color) {
        CustomerToast.makeCustomText(MyApplication.getInstance(), s + "",Toast.LENGTH_SHORT,diretion,color).show();
    }
}
